<?php header("Content-type:text/html;charset=utf-8"); ?>
<html>
<head>
<?php $this->import('title');?>
</head>
<body>

<form action="admin.php?m=goods&a=addSave" method="post" enctype="multipart/form-data">
<table>
<tr><th>商品名称</th><td><input type="text" name="goodsName" /></td></tr>
<tr><th>售价</th><td><input type="text" name="price" /></td></tr>
<tr><th>单位</th><td><input type="text" name="unit" /></td></tr>
<tr><th>重量</th><td><input type="text" name="weight" /></td></tr>
<tr><th>运费</th><td><input type="text" name="freight" /></td></tr>

<tr><th>所属分类</th><td>
<select name="cateID">
<?php foreach($this->cates as $k=>$v):?>
<option value="<?php echo $v['id']?>"><?php echo $v['cateName']?></option>
<?php endforeach;?>
</select>
</td></tr>

<tr><td>SEO优化设置</td><td>&nbsp;</td></tr>
<tr><th>URL名称</th><td><input type="text" name="urlName" /></td></tr>
<tr><th>关键字</th><td><input type="text" name="keyWords" /></td></tr>
<tr><th>页面描述</th><td><input type="text" name="desc" /></td></tr>

<tr><th>商品图片</th><td><input type="file" name="goodspic" /></td></tr>

<tr><td>&nbsp;</td><td><input type="submit" value="增加" /></td></tr>
</table>
</form>

</body>
</html>